from python_learn.HeroFactory import HeroFactoty
#创建一个英雄工厂
from python_learn.HeroFight import Timo, Police

Hero_Factoty = HeroFactoty()
#创建英雄
police=Hero_Factoty.createHero("police")


timo=Timo()
police=Police()
timo.fight(police.hp,police.power,police.hero_name)



